//
//  JAPictureModel.swift
//  JAWeiBo
//
//  Created by Arvin on 17/4/5.
//  Copyright © 2017年 Arvin. All rights reserved.
//

import UIKit

class JAPictureModel: NSObject {
    
    /// 微博的图片的缩略图的地址
    var thumbnail_pic: String? {
        didSet {
            //替换缩略图
            middle_pic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/bmiddle/")
            thumbnail_pic = thumbnail_pic?.replacingOccurrences(of: "/thumbnail/", with: "/wap360/")
        }
    }
    
    ///中图的地址
    var middle_pic: String?
    
    /// 描述信息
    override var description: String {
        return self.yy_modelDescription()
    }


}
